home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / pcm / surround40.conf < prev    next >
Text File  |  2006-01-09  |  749b  |  53 lines

  1. #
  2. #  Hardware output from 4.0 speakers.
  3. #  Samples must be positioned:
  4. #    chn0 - front left
  5. #    chn1 - front right
  6. #    chn2 - rear left
  7. #    chn3 - rear right
  8. #
  9.  
  10. pcm.!surround40 {
  11.     @args [ CARD DEV ]
  12.     @args.CARD {
  13.         type string
  14.         default {
  15.             @func getenv
  16.             vars [
  17.                 ALSA_SURROUND40_CARD
  18.                 ALSA_PCM_CARD
  19.                 ALSA_CARD
  20.             ]
  21.             default {
  22.                 @func refer
  23.                 name defaults.pcm.surround40.card
  24.             }
  25.         }
  26.     }
  27.     @args.DEV {
  28.         type integer
  29.         default {
  30.             @func igetenv
  31.             vars [
  32.                 ALSA_SURROUND40_DEVICE
  33.             ]
  34.             default {
  35.                 @func refer
  36.                 name defaults.pcm.surround40.device
  37.             }
  38.         }
  39.     }
  40.     @func refer
  41.     name {
  42.         @func concat
  43.         strings [
  44.             "cards."
  45.             {
  46.                 @func card_driver
  47.                 card $CARD
  48.             }
  49.             ".pcm.surround40." $DEV ":CARD=" $CARD
  50.         ]
  51.     }
  52. }
  53.